<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>呼和浩特天气预报</title>
    <style>
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            background-color: #f0f0f0;
            margin: 0;
        }

        .weather-card {
            width: 320px;
            background: linear-gradient(to bottom, #5ac8fa, #007aff);
            border-radius: 20px;
            padding: 20px;
            color: white;
            box-shadow: 0 10px 30px rgba(0, 122, 255, 0.3);
            position: relative;
            overflow: hidden;
        }

        .location {
            font-size: 24px;
            font-weight: 600;
            margin-bottom: 5px;
        }

        .date {
            font-size: 14px;
            opacity: 0.8;
            margin-bottom: 20px;
        }

        .weather-icon {
            font-size: 60px;
            text-align: center;
            margin: 20px 0;
        }

        .temperature {
            font-size: 72px;
            font-weight: 200;
            text-align: center;
            margin-bottom: 10px;
        }

        .description {
            font-size: 20px;
            text-align: center;
            margin-bottom: 30px;
            font-weight: 500;
        }

        .details {
            display: flex;
            justify-content: space-between;
            font-size: 14px;
            opacity: 0.9;
        }

        .detail-item {
            display: flex;
            align-items: center;
        }

        .detail-item i {
            margin-right: 5px;
            font-size: 16px;
        }

        .bubbles {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: 0;
            overflow: hidden;
        }

        .bubble {
            position: absolute;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
        }
    </style>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
</head>
<body>
<div class="weather-card">
    <div class="bubbles" id="bubbles"></div>
    <div style="position: relative; z-index: 1;">
        <div class="location">呼和浩特</div>
        <div class="date" id="current-date">2023年11月15日 星期三</div>
        <div class="weather-icon">
            <i class="fas fa-sun"></i>
        </div>
        <div class="temperature">12°</div>
        <div class="description">晴朗</div>
        <div class="details">
            <div class="detail-item">
                <i class="fas fa-wind"></i> 西北风 3级
            </div>
            <div class="detail-item">
                <i class="fas fa-tint"></i> 湿度 45%
            </div>
            <div class="detail-item">
                <i class="fas fa-arrow-up"></i> -2°/14°
            </div>
        </div>
    </div>
</div>

<script>
    // 设置当前日期
    const now = new Date();
    const options = { year: 'numeric', month: 'long', day: 'numeric', weekday: 'long' };
    document.getElementById('current-date').textContent = now.toLocaleDateString('zh-CN', options);

    // 创建气泡效果
    const bubblesContainer = document.getElementById('bubbles');
    for (let i = 0; i < 10; i++) {
        const bubble = document.createElement('div');
        bubble.classList.add('bubble');

        const size = Math.random() * 30 + 10;
        const posX = Math.random() * 100;
        const posY = Math.random() * 100;
        const delay = Math.random() * 5;
        const duration = Math.random() * 10 + 10;

        bubble.style.width = `${size}px`;
        bubble.style.height = `${size}px`;
        bubble.style.left = `${posX}%`;
        bubble.style.top = `${posY}%`;
        bubble.style.animation = `float ${duration}s ease-in-out ${delay}s infinite`;

        bubblesContainer.appendChild(bubble);
    }

    // 添加浮动动画
    const style = document.createElement('style');
    style.textContent = `
        @keyframes float {
            0% {
                transform: translateY(0) translateX(0);
                opacity: 0;
            }
            10% {
                opacity: 0.1;
            }
            100% {
                transform: translateY(-100vh) translateX(20px);
                opacity: 0;
            }
        }
    `;
    document.head.appendChild(style);

    function Fun(){
    console.log('朱炯士大夫就啊恩富哦i加色萨阿飞啊建档立卡金额哦i的')
    }
</script>
</body>
</html>